﻿using JshRCSWebApi.Infrastructure;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JshRCSWebApi.Service.ToolService
{
    public interface ToolService
    {
        /// <summary>
        /// 上传图片
        /// </summary>
        /// <param name="image"></param>
        /// <returns></returns>
        public Task<ApiResult> UploadImage(IFormFile image);
        /// <summary>
        /// 根据ID删除图片
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        public Task<ApiResult> DeleteImageByID(long ID);
    }
}
